

<?php
define('FPDF_FONTPATH','font/');
require('../fpdf/fpdf.php');
include ("../GestionPermisos/conn.php");

class PDF extends FPDF
{
//Page header
function Header()
{

    //Logo
   //$this->Image('IMAGENMEP.png',10,8,25);
    //Arial bold 15
    $this->SetFont('Arial','B',14);
    //Move to the right
    $this->Cell(20);
    //Title
  

    $this->Cell(30,15,                                                                                                                                                    'MINISTERIO DE EDUCACION PUBLICA',0,1,'L');
     $this->Cell(30,5, '                                         Departamento de transporte Estudiantil',0,1,'L');
    //Line break
 
}

//Page footer
function Footer()
{
    //Position at 1.5 cm from bottom
    
    $this->SetY(-10);
    //Arial italic 8
    $this->SetFont('Arial','I',10);
    //Page number
    
    $fechayHora = date("d-m-Y");

    $hora=time();



    $this->Cell(275,-5,'Sistema Betrans',0,1,'C');
    $this->Cell(0,-6,'El dia '.$fechayHora,0,1,'C');


    $this->Cell(0,-6, 'Impreso en '.'Nicoya,Guanacaste,Costa Rica',0,1,'C');

}
}
//Instanciation of inherited class



?>
